package week06.Strategy;

public class CartService {
    private MemberStartegy startegy;


    public double calcPrice(double price){
        this.startegy=new InterMediateMember();
        return startegy.calcPrice(price);
    }

    public static void main(String[] args) {
        CartService cartService =new CartService();
        System.out.println(cartService.calcPrice(80));
    }
}
